package com.interview.spring.aop.dao;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author: zsg
 * @description:
 * @date: 2019/11/23 19:08
 * @modified:
 */
@Component
@Scope("prototype")
public class UserDaoImpl implements UserDao {
    @Override
    public void query(String params) {
        System.out.println("哈哈UserDaoImpl");
        System.out.println(this);
    }

    @Override
    public void query() {
        System.out.println("query");
    }

    public static void aa(){

    }
}
